package com.bgrc.hubu12305.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.core.SpringVersion;

/**
 * 包名:com.bgrc.hubu12305.entity
 * 用户:86182
 * 时间:20211216:092021/12/15
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("订单信息")
@TableName("t_order_list")
public class OrderEntity {

    @TableId(value = "id",type = IdType.NONE)
    @ApiModelProperty("订单编号")
    private String id;

    @ApiModelProperty("乘客姓名")
    private String userName;

    @ApiModelProperty("乘客电话")
    private String userPhoneNum;

    @ApiModelProperty("乘客身份证")
    private String userIdNumber;

    @ApiModelProperty("车次")
    private String trainNumber;

    @ApiModelProperty("始发站名")
    private String startStationName;

    @ApiModelProperty("到达站名")
    private String endStationName;

    @ApiModelProperty("车厢编号")
    private String carriageNo;

    @ApiModelProperty("座位编号")
    private String seatNo;

    @ApiModelProperty("价格")
    private Integer orderMoney;

    @ApiModelProperty("订单创建时间")
    private String orderCreateTime;

    @ApiModelProperty("订单状态")
    private String orderStatus;
}
